function numeric (event) {
    if (event.keyCode == 46 || event.keyCode == 8 || event.keyCode == 9 || event.keyCode == 27 ||(event.keyCode == 65 && event.ctrlKey === true) || (event.keyCode >= 35 && event.keyCode <= 39)  ) {
            return;
    }else{
                
        if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode < 96 || event.keyCode > 105) ) {
           event.preventDefault();
         }
    }
}
function hora (event) { 
    if (event.keyCode == 8 || event.keyCode == 9 || event.keyCode == 27 || event.keyCode==58 ||(event.keyCode == 65 && event.ctrlKey === true) ) {
            return;
    }else{
           if (event.keyCode < 48 || event.keyCode > 57) {
           event.preventDefault();  }
    }
}